package com.future.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("media_resource")
public class MediaResource {
    @TableId(type = IdType.AUTO)
    private Long id;
    private String title;
    @TableField("file_name")
    private String fileName;
    @TableField("file_path")
    private String filePath;
    @TableField("file_type")
    private String fileType;
    @TableField("file_size")
    private Long fileSize;
    @TableField("uploader_id")
    private Long uploaderId;
    @TableField("is_approved")
    private int isApproved;
    @TableField("reason")
    private String reason;
    @TableField("download_count")
    private Integer downloadCount;
    @TableField("created_at")
    private Date createdAt;
    private Long views;
    private Long likeCount;
    private String content;
    private Long collectionCount;
}